package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.GreTreeFamous;
import cn.topevery.garden.entity.po.GreTreeFamousRecord;
import cn.topevery.garden.entity.query.GreTreeFamousRecordQuery;
import cn.topevery.garden.entity.vo.GreTreeFamousRecordVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 古树名木记录表
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface GreTreeFamousRecordDao extends BaseDao<GreTreeFamousRecord> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<GreTreeFamousRecordVO> listPage(GreTreeFamousRecordQuery query);

    GreTreeFamousRecord getEntityByColumn(String key,String value);

    int insert(GreTreeFamous greTreeFamous, Integer userId);
}
